package com.example.home.uistate

import com.example.common.state.BaseUiState

/**
 * ui更新状态
 * */
sealed class HomeUiState : BaseUiState() {

    data class loadNominateSuccess(val data: Any?) : HomeUiState()
    data class loadDiscoverSuccess(val data: Any?) : HomeUiState()
    data class loadDailySuccess(val data: Any?) : HomeUiState()

    data class loadNominateFail(val error: String) : HomeUiState()
    data class loadDiscoverFail(val error: String) : HomeUiState()
    data class loadDailyrFail(val error: String) : HomeUiState()
}